﻿Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema

<Table("FormaPago")>
Public Class FormaPago
    Implements IEntity

    <Key()>
    <DatabaseGenerated(DatabaseGeneratedOption.Identity)>
    Public Property IdFormaPago As Integer

    <StringLength(50)>
    <Required()>
    Public Property NombreFormaPago As String

    Public Property Interes As Decimal

    <NotMapped()>
    Public Property ID() As Integer Implements IEntity.ID
        Get
            Return IdFormaPago
        End Get
        Set(ByVal value As Integer)
            IdFormaPago = value
        End Set
    End Property
End Class
